package org.neuedu.chapter02_0610;

public class VariabelDemo01 {
    public static void main(String[] args) {
        int num = 101;
        if (num % 2 == 0) {
            System.out.println("偶数");
        }else{
            System.out.println("奇数");
        }
        // 判断表达式 ? value1 : value2
        System.out.println(num % 2 == 0 ? "偶数" : "奇数");
    }
}
